package com.cec.service.admin;

import com.cec.dto.VolunteerDTO;
import com.cec.entity.Volunteer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cec.result.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lt
 * @since 2024-10-25
 */
public interface VolunteerService extends IService<Volunteer> {

    /**
     * 查询志愿者信息
     * @param volunteerDTO
     * @return
     */
    Result pageQueryVolunteerActivityReg(VolunteerDTO volunteerDTO);

    /**
     * 逻辑删除志愿者信息
     * @param id
     * @return
     */
    Result logicDeleteVolunteerActivityRegById(Integer id);

    /**
     * 批量删除志愿者信息
     * @param ids
     * @return
     */
    Result logicBatchDeleteVolunteerActivityRegByIds(List<Integer> ids);

    /**
     * 修改志愿者信息（审核状态、审核意见）
     * @param volunteerDTO
     * @return
     */
    Result updateVolunteerActivityReg(VolunteerDTO volunteerDTO);
}
